/* Global Styles */
body, html {
    height: 100%;
    margin: 0;
    font: 400 15px / 1.8 "Lato", sans-serif;
    color: #777;
    box-sizing: border-box;
}

h1 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 2rem; /* Adjust size as needed */
    font-weight: bold;
    margin-bottom: 0.5rem;
}

h2, h3 {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

h2 {
    font-family: Verdana, Geneva, Tahoma, sans-serif; 
    font-size: 1.5rem;
}

h3 {
    font-family: 'Consolas', 'Courier New', Tahoma, sans-serif; 
    font-size: 1.5rem;
}

p {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 0.8rem; /* Adjust size as needed */
    font-weight: normal;
    margin-bottom: 1.5rem;
}

/* Navbar Styles */
.navbar {
    list-style: none;
    padding: 20px;
    margin: 0;
    background-color: #333;
    display: flex;
    justify-content: center;
    font-size: 1.2rem;
}

.navbar li {
    margin: 0 10px;
}

.navbar a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.navbar a:hover {
    color: #FFD700;
}

/* Content Container */
.content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.content-container {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

/* Text Section */
.text-section {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center; /* Ensures alignment in the center */
    
}

.image-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 30px; /* Increase padding for more space */
    border-radius: 8px; /* Optional: rounded corners */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1)
  }
  
  .image-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center; /* Ensures alignment in the center */
    border-radius: 10px; /* Adjust the value as needed for rounded corners */
  }

  .track-list {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; /* Match the font used in paragraphs */
    font-size: 1.5rem;
    margin: 0;
    padding-left: 20px; /* Indentation for the list */
    justify-content: flex-end; /* Ensures alignment in the center */
}

.track-list li {
    margin-bottom: 0.5rem; /* Space between list items */
    font-weight: normal; /* Adjust weight if needed */
}

  
  .responsive-image {
    max-width: calc(50% - 0.5rem); /* Ensures two images fit side-by-side with spacing */
    flex-grow: 1;
    height: auto;
  }
  
  .Previous {
    left: 10px; /* Position the Previous button on the left side */
  }
  
  /* Style for the Next button (right side) */
  .Next {
    right: 10px; /* Position the Next button on the right side */
  }

  * {
    box-sizing: border-box;
  }

  .TOC {
   
    display: flex;
    padding: 20px;
    margin: 20;
    justify-content: center;
    font-size: 1.2rem;
    flex-wrap: wrap; /* Allow items to wrap on smaller screens */
}

.TOC a { /* Assuming you are using <a> tags for TOC items */
    padding: 10px 20px;
    background-color: #444; /* Darker background */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin: 25px; /* Space between buttons */
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s; /* Button hover effect */
}

.TOC a:hover {
    background-color: #FFD700; /* Highlight color on hover */
    transform: scale(1.05); /* Slightly enlarge on hover */
}

.TOC a:active {
    background-color: #FFD700; /* Keep color on click */
    transform: scale(0.95); /* Slight shrink effect on click */
}

/* Page Navigation Buttons */
.Navigation-container {
    bottom: 20px; /* Distance from the bottom */
    width: 100%; /* Full width of the page */
    display: flex;
   
    padding: 0 20px; /* Padding for left and right space */
}

.page-navigation {
    padding: 10px 20px;
    background-color: #333;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.page-navigation:hover {
    background-color: #FFD700; /* Hover color */
}

.page-navigation.previous {
    margin-left: 0; /* Bottom-left position */
}

.page-navigation.next {
    margin-left: 0; /* Automatically pushes it to the right */
}

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
    .content-container {
        flex-direction: column; /* Stack text and image sections */
    }

    .text-section, .image-section {
        flex-basis: 100%; /* Each section takes full width */
        margin-right: 0; /* Remove right margin */
        padding: 15px; /* Reduce padding */
    }

    .responsive-image {
        max-width: 100%; /* Make image fill container on smaller screens */
    }
}

@media (max-width: 480px) {
    .navbar {
        font-size: 1rem;
        padding: 15px;
    }

    .content {
        padding: 10px;
    }

    h1 {
        font-size: 1.8rem;
    }

    p {
        font-size: 1rem; /* Adjusted for readability */
    }
}
